package com.coldchain.order.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coldchain.order.entity.BizDispatchingOrder;
import com.coldchain.common.vo.BizDispatchingVo;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * <p>
 * 配送订单 Mapper 接口
 * </p>
 *
 * @author fangliai
 * @since 2018-11-14
 */
public interface BizDispatchingOrderMapper extends BaseMapper<BizDispatchingOrder> {

    List<BizDispatchingVo> getBizOrderList(@Param("ew") QueryWrapper wrapper);

    IPage<BizDispatchingVo> getBizOrderList(Page page, @Param("ew") QueryWrapper wrapper);

    IPage<BizDispatchingVo> getSimpleOrderList(Page page,@Param("ew") QueryWrapper wrapper);

    List<BizDispatchingVo> getSimpleOrderList(@Param("ew") QueryWrapper wrapper);
}
